package com.yuandian.base.mapper;

import com.yuandian.vo.TaskDataParams;
import com.yuandian.vo.TaskDataVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 任务最新数据时间表Mapper
 * <p>
 *
 * @author lijunhang
 * @date 2021/12/28
 * @since 1.0.0
 */
@Repository
public interface TaskDataMapper {

	@Select("SELECT cycle_time as newestCycleTime FROM `ads_t_task_data_time_m` WHERE job_name =#{params.jobName};")
    TaskDataVo query(@Param("params") TaskDataParams params);
}
